Skip to content

Fix Monitor crash when no devices are detected - #126

Open
ardaS37 wants to merge 1 commit into
evilC:masterfrom
ardaS37:fix-monitor-empty-device-list
Open

Fix Monitor crash when no devices are detected#126
ardaS37 wants to merge 1 commit into
evilC:masterfrom
ardaS37:fix-monitor-empty-device-list

Conversation

@ardaS37

@ardaS37 ardaS37 commented Aug 28, 2026

Copy link
Copy Markdown

Monitor.ahk can crash when no devices are returned because "lowest"
is only assigned while iterating detected devices.

Initialize "lowest" when the device list is empty so the GUI can still
be created instead of raising an unassigned variable error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant